package com.example;

import java.util.ArrayList;
import java.util.List;
public class Teacher {
    private String name;
    private int imageID;
    private String desc;
    public  Teacher(String name,int imageID,String desc){
        this.name=name;
        this.imageID=imageID;
        this.desc=desc;
    }
    public  static List<Teacher> getAllTeachers(){
        List<Teacher> teachers =new ArrayList<>();
        teachers.add(new Teacher("苏炳添",R.drawable.subingtian,"一个很厉害的运行员"));
        teachers.add(new Teacher("刘翔",R.drawable.liux,"中国的飞人"));
        teachers.add(new Teacher("斯蒂芬库里",R.drawable.curry,"篮球巨星"));
        return teachers;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getImageId() {
        return imageID;
    }
    public void setImageId(int imageId) {
        this.imageID= imageId;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
